const router = require("koa-router")();
const pay = require("../controllers/pay");

router.prefix('/v1')

router.post('/place/order', pay.placeOrder)
router.get('/order', pay.order)
router.delete('/order', pay.orderDelete)
router.post('/payment', pay.payment)
router.get('/order/count', pay.orderCount)
router.get('/order/query', pay.query)

module.exports = router;
